Fix HVM save/restore wrt console handling.
authorEwan Mellor <ewan@xensource.com>
Thu, 1 Feb 2007 15:30:22 +0000 (15:30 +0000)
committerEwan Mellor <ewan@xensource.com>
Thu, 1 Feb 2007 15:30:22 +0000 (15:30 +0000)
From Tim Deegan <Tim.Deegan@xensource.com>.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xend/XendConfig.py

index 220c211bad3b19afa08b10c852b3558ec28a4196..7753c89cb1407481373322c3710b5eccd669c83f 100644 (file)
@@ -679,6 +679,9 @@ class XendConfig(dict):
                 if self['devices'][console_uuid][1].get('protocol') == 'rfb':
                     has_rfb = True
                     break
+                if self['devices'][console_uuid][0] == 'vfb':
+                    has_rfb = True
+                    break
 
             if not has_rfb:
                 dev_config = ['vfb']